package com.aisino.nmg.system.generator.model;

import java.io.Serializable;

public class ColumnConfig implements Serializable {
    /**
     * @Fields id null
     */
    private Long id;

    /**
     * @Fields actualColumnName 表列名
     */
    private String actualColumnName;

    /**
     * @Fields jdbcType JDBC类型
     */
    private String jdbcType;

    /**
     * @Fields isPrimaryKey 是否主键
     */
    private String isPrimaryKey;

    /**
     * @Fields isNotNull i是否为空
     */
    private String isNotNull;

    /**
     * @Fields columnLength 列长度
     */
    private String columnLength;

    /**
     * @Fields javaPropertieName 对象属性名
     */
    private String javaPropertyName;

    /**
     * @Fields javaShortType 对象长属性类型
     */
    private String javaShortType;

    /**
     * @Fields javaFullType 对象短属性类型
     */
    private String javaFullType;

    /**
     * @Fields remarks 备注
     */
    private String remarks;

    /**
     * @Fields tableConfigId 表配置ID
     */
    private Long tableConfigId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table GENERATOR_COLUMN_CONFIG
     */
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getActualColumnName() {
        return actualColumnName;
    }

    public void setActualColumnName(String actualColumnName) {
        this.actualColumnName = actualColumnName == null ? null : actualColumnName.trim();
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType == null ? null : jdbcType.trim();
    }

    public String getIsPrimaryKey() {
        return isPrimaryKey;
    }

    public void setIsPrimaryKey(String isPrimaryKey) {
        this.isPrimaryKey = isPrimaryKey == null ? null : isPrimaryKey.trim();
    }

    public String getIsNotNull() {
        return isNotNull;
    }

    public void setIsNotNull(String isNotNull) {
        this.isNotNull = isNotNull == null ? null : isNotNull.trim();
    }

    public String getColumnLength() {
        return columnLength;
    }

    public void setColumnLength(String columnLength) {
        this.columnLength = columnLength == null ? null : columnLength.trim();
    }

    public String getJavaPropertyName() {
        return javaPropertyName;
    }

    public void setJavaPropertyName(String javaPropertyName) {
        this.javaPropertyName = javaPropertyName == null ? null : javaPropertyName.trim();
    }

    public String getJavaShortType() {
        return javaShortType;
    }

    public void setJavaShortType(String javaShortType) {
        this.javaShortType = javaShortType == null ? null : javaShortType.trim();
    }

    public String getJavaFullType() {
        return javaFullType;
    }

    public void setJavaFullType(String javaFullType) {
        this.javaFullType = javaFullType == null ? null : javaFullType.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Long getTableConfigId() {
        return tableConfigId;
    }

    public void setTableConfigId(Long tableConfigId) {
        this.tableConfigId = tableConfigId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", actualColumnName=").append(actualColumnName);
        sb.append(", jdbcType=").append(jdbcType);
        sb.append(", isPrimaryKey=").append(isPrimaryKey);
        sb.append(", isNotNull=").append(isNotNull);
        sb.append(", columnLength=").append(columnLength);
        sb.append(", javaPropertyName=").append(javaPropertyName);
        sb.append(", javaShortType=").append(javaShortType);
        sb.append(", javaFullType=").append(javaFullType);
        sb.append(", remarks=").append(remarks);
        sb.append(", tableConfigId=").append(tableConfigId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
